@model User.Models.InventorysModels
<link href="~/css/InventoryCSS/inventory.css" rel="stylesheet" />
@{
    ViewData["Title"] = "Matters";
}
<div class="total" id="compile-body">
    <div class="userInfor" id="compile-title">
        <p>添加事项</p>
        <div>
            @*<table>
                <tr>
                    <th><h4>事项内容</h4> </th>
                    <th><h4> 备注</h4></th>
                    <th><h4>是否完成</h4></th>
                    <th><h4> 过期时间</h4></th>
                </tr>
                @foreach(var item in Model.Matter)
                {
                    <tr>
                        <th><h5>@item.MatterContent</h5></th>
                        <th><h5>@item.Remark</h5></th>
                        <th><h5>@item.IsFinished</h5> </th>
                        <th><h5>@item.OverTime</h5></th>
                    </tr>
                }
            </table>*@
             <form id="change-inventory-info" action="/Matter/AddMatter?userId=@Model.UserId&typeId=@Model.TypeId&inventoryId=@Model.InventoryId" method="post">
                <input type="text" name="matterName" placeholder="事项内容" />
                <input type="text" name="reamark" placeholder="备注" />
                <input type="date" name="overTime" placeholder="结束时间" />
                <input type="submit" />
            </form>
            <h5 style="color:red;">@ViewData["Message"]</h5>
        </div>
    </div>
</div>
<a href="/Inventory/ShowInventory?userId=@Model.UserId&typeId=@Model.TypeId"><h4>返回</h4></a>



